/// 响应主体内容
class ClientTotalWithdrawAndBalanceDto {
  /// 客户端提现金额总数
  final int? totalWithdrawAmount;
  /// 客户端账户余额总数
  final int? totalBalanceAmount;

  ClientTotalWithdrawAndBalanceDto({
    this.totalWithdrawAmount,
    this.totalBalanceAmount,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (totalWithdrawAmount != null) data['totalWithdrawAmount'] = totalWithdrawAmount;
    if (totalBalanceAmount != null) data['totalBalanceAmount'] = totalBalanceAmount;
    return data;
  }

  factory ClientTotalWithdrawAndBalanceDto.fromJson(Map<String, dynamic> json) {
    return ClientTotalWithdrawAndBalanceDto(
      totalWithdrawAmount: json['totalWithdrawAmount'],
      totalBalanceAmount: json['totalBalanceAmount'],
    );
  }
}